package com.ztf.shopping.bean;

import java.math.BigDecimal;

public class User {

    private int id;
    private String name;
    private String pwd;
    private BigDecimal money;
    private String head;
    private String email;
    private int isRegister;

    public User(int id, String name, String pwd, BigDecimal money, String head) {
        this.id = id;
        this.name = name;
        this.pwd = pwd;
        this.money = money;
        this.head = head;
    }

    public User(String name, String pwd, String email) {
        this.name = name;
        this.pwd = pwd;
        this.email = email;
    }

    public User() {
    }

    public User(String name, String pwd) {
        this.name = name;
        this.pwd = pwd;
    }


    public User(int id, String name, String password, BigDecimal bigDecimal, String head, String email) {
        this.id = id;
        this.name = name;
        this.pwd = password;
        this.money = bigDecimal;
        this.head = head;
        this.email = email;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
}
